<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>mac</title>
    <link rel="stylesheet" type="text/css" href="front/js/index.css">
</head>
<body>
<div id="app"></div>
<script type="text/javascript">
    window.mac = {
        frontScan: '/?c=items_ctrl&m=front_scan', //前端
        getCats: '/?c=cats_ctrl&m=get_cats', //前端

        /*
         catsId: 分类ID (getCats接口中有每个分类数据中都有value,包括子分类)
         pageNo: 当前页数,
         pageSize: 每页显示多少个
         (每个商品已经返回了评价和标签)
         */
        getItems: '/?c=items_ctrl&m=get_items', //前端

        getRates: '/?c=rates_ctrl&m=get_rates',
        setContent: '/?c=rates_ctrl&m=set_content',
        setTags: '/?c=rates_ctrl&m=set_tags',

        /*
         pageNo: 当前页数,
         pageSize: 每页显示多少个
         */
        getVideo: "/?c=video_ctrl&m=get_video",  //前端
        saveVideo: "/?c=video_ctrl&m=save_video",
        deleteVideo: "/?c=video_ctrl&m=delete_video",

        /*
         pageNo: 当前页数,
         pageSize: 每页显示多少个
         */
        getChart: "/?c=chart_ctrl&m=get_chart",  //前端
        saveChart: "/?c=chart_ctrl&m=save_chart",
        deleteChart: "/?c=chart_ctrl&m=delete_chart",


        getAbout: "/?c=about_ctrl&m=get_about",  //前端
        saveAbout: "/?c=about_ctrl&m=save_about",
        /*
         catsId: 分类ID (getCats接口中有每个分类数据中都有value,包括子分类)
         pageNo: 当前页数,
         pageSize: 每页显示多少个
         keyWord: 商品名
         (每个商品已经返回了评价和标签)
         */
        getMakeupFront: "/?c=makeup_ctrl&m=get_makeup_front",  //前端
        getMakeup: "/?c=makeup_ctrl&m=get_makeup",
        saveMakeup: "/?c=makeup_ctrl&m=save_makeup",
        getMakeupTmpl: "/?c=makeup_ctrl&m=get_makeup_tmpl",
        saveMakeupTmpl: "/?c=makeup_ctrl&m=save_makeup_tmpl",
        //传入base64的图片数据
        upPhoto: '/?c=photo_ctrl&m=up_photo', //前端
    };

</script>
<script type="text/javascript" src="front/js/index.js"></script>
<script type="text/javascript" src="https://g.alicdn.com/mtb/weex-vue-h5-render/0.2.2/index.js"></script>
<script type="text/javascript" src="https://g.alicdn.com/mtb/mapp-lib/0.2.0/app.web.js"></script>
</body>
</html>
